﻿@{
    ViewBag.Title = "UserInfo";
    Layout = "~/Views/Shared/_LayoutForEUI.cshtml";
    var listRole = ViewBag.Role as List<SGArchiveSystem7x.Models.CComboboxModel>;
    var listDep = ViewBag.Dep as List<SGArchiveSystem7x.Models.CComboboxModel>;
}

<div class="easyui-window" title="My Window" data-options="modal:true,closed:true,iconCls:'icon-save'" minimizable="false" maximizable="false" resizable="false" collapsible="false" style="width:400px;height:280px;padding:10px">
    <div style="padding-top:10px">
        <input class="easyui-textbox" labelalign="right" style="width:100%" label="登录名:" id="User_UserInfo_txtName" />
    </div>
    <div style="padding-top:10px;display:none">
        <input class="easyui-textbox" labelalign="right" type="password" style="width:100%" label="密码:" id="User_UserInfo_txtPwd" />
    </div>
    <div style="padding-top:10px">
        <input class="easyui-textbox" labelalign="right" style="width:100%" label="姓名:" id="User_UserInfo_txtRName" />
    </div>
    <div style="padding-top:10px">
        <select class="easyui-combobox" labelalign="right" style="width:100%" label="性别:" id="User_UserInfo_cmbSex">
            <option value="男">男</option>
            <option value="女">女</option>
        </select>
    </div>
    <div style="padding-top:10px">
        <input class="easyui-textbox" labelalign="right" style="width:100%" label="联系电话:" id="User_UserInfo_txtPhone" />
    </div>
    <div style="padding-top:10px">
        <input class="easyui-textbox" labelalign="right" style="width:100%" label="联系邮件:" id="User_UserInfo_txtEmail" />
    </div>
    <div style="padding-top:10px">
        <select class="easyui-combobox" labelalign="right" style="width:100%" label="所属部门:" id="User_UserInfo_cmbDep">
            @{
                foreach (var n in listDep)
                {
                    <option value="@n.ID">@n.Text</option>
                }
            }
        </select>
    </div>
    <div style="padding-top:10px">
        <select class="easyui-combobox" labelalign="right" id="User_UserInfo_cmbRole" style="width:100%" label="所属角色:">
            @{
                foreach (var n in listRole)
                {
                    <option value="@n.ID">@n.Text</option>
                }
            }
        </select>
    </div>
</div>

